import { Vue } from "vue";

const components = import.meta.globEager("./*/*.vue");

export default {
  install(app: Vue) {
    Object.keys(components).forEach((key) => {
      const component = components[key].default;
      app.component(component.name, component);
    });
  },
};
